package com.yizhu.zczy.system.dao;

import com.yizhu.zczy.system.entity.MenuEntity;
import com.yizhu.zczy.system.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 后台管理员用户表
 * 
 * @author guoyz
 * @email guoyz@mail.com
 * @date 2021-06-24 18:31:46
 */
@Mapper
public interface UserDao extends BaseMapper<UserEntity> {

    List<MenuEntity> queryMenuByLoggedinUser(@Param("userId") Integer userId);
}
